From: Chong Yidong Date: Mon, 7 Sep 2009 16:35:33 +0000 (+0000) Subject: lisp/cedet/semantic/util.el (semantic-file-tag-table): Require X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10241^2~47 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=60d6beda1c08b952c44d406b64bcd9e89562db95;p=emacs.git lisp/cedet/semantic/util.el (semantic-file-tag-table): Require semantic/db-mode instead of checking if semanticdb-minor-mode-p is bound. --- diff --git a/lisp/cedet/semantic/util.el b/lisp/cedet/semantic/util.el index dfb899e5941..a70b086f78d 100644 --- a/lisp/cedet/semantic/util.el +++ b/lisp/cedet/semantic/util.el @@ -73,7 +73,7 @@ If FILE is not loaded, and semanticdb is not available, find the file (set-buffer (find-buffer-visiting file)) (semantic-fetch-tags)) ;; File not loaded - (if (and (fboundp 'semanticdb-minor-mode-p) + (if (and (require 'semantic/db-mode) (semanticdb-minor-mode-p)) ;; semanticdb is around, use it. (semanticdb-file-stream file)